﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Util.Layout.Test.Bases;
using Util.Layout.Test.Entities;
using Util.Layout.Test.Interfaces;

namespace Util.Layout.Test.ViewModels.SubViewModels
{

    public class PetWindow : ViewModelBase, IContent
    {
        public string Title
        {
            get { return string.Format("{0} - {1}", Pet.Name, Pet.Owner); }
        }

        public PetWindow(Pet pet)
        {
            this.Pet = pet;
        }

        public Pet Pet { get; private set; }

        public bool CanClose
        {
            get { return true; }
        }
    }
}
